package com.company;

public class Test22岁数计算 {
    public static void main(String[] args) {
        System.out.println(sui(5));

    }
    public  static int sui(int x){
        if(x==1){
            return 10;
        }else {
            return sui(x-1)+2;
        }
    }
}
